/*
 * @Author: windys
 * @Description: 后端路由格式
 * @Date: 2021-12-03 16:37:53
 */
export const permissionList = [
    {
        path: "/dashboard",
        title: '控制首页',
        url: '../layout/index.vue',
        hidden: false,
        icon: "iconfont icon-quanbu-copy",
        keepAlive: false,
        name: "控制首页",
        children: [
            {
                path: "/dashboard",
                name: "dashboard",
                url: "../pages/dashboard/index.vue",
                title: '控制首页',
                hidden: false,
                keepAlive: false,
            },

        ]
    },
    // {
    //     path: "/home",
    //     title: '首页',
    //     url: '../layout/index.vue',
    //     hidden: false,
    //     icon: "iconfont icon-quanbu-copy",
    //     keepAlive: false,
    //     name: "首页",
    //     children: [
    //         {
    //             path: "/home",
    //             name: "home",
    //             url: "../pages/home/index.vue",
    //             title: '首页',
    //             hidden: false,
    //             keepAlive: false,
    //         },

    //     ]
    // },
    // {
    //     path: "/content",
    //     title: '内容',
    //     url: '../layout/index.vue',
    //     hidden: false,
    //     redirect: '/content/table',
    //     icon: "iconfont icon-pinglun",
    //     keepAlive: false,
    //     name: "内容",
    //     children: [
    //         {
    //             path: "/content/table",
    //             name: "table",
    //             title: '表格',
    //             url: "../pages/content/table/index.vue",
    //             hidden: false,
    //             keepAlive: !false,
    //         },
    //         {
    //             path: "/content/from",
    //             name: "live",
    //             title: '表单',
    //             url: "../pages/content/from/index.vue",
    //             hidden: false,
    //             keepAlive: false,
    //         },
    //     ]
    // },
    // {

    //     hidden: false,
    //     keepAlive: false,
    //     name: "测试菜单",
    //     path: "/test",
    //     title: "测试菜单f",
    //     type: 1,
    //     url: "../layout/index.vue",
    //     icon: "iconfont icon-quanbu-copy",
    //     children: [
    //         {
    //             children: [],
    //             hidden: false,
    //             icon: "",
    //             name: "test",
    //             keepAlive: false,
    //             path: "/test",
    //             title: "测试菜单",
    //             type: 1,
    //             url: "../pages/test/index.vue"
    //         },
    //     ],
    // },
    {
        path: "/:pathMatch(.*)*",
        title: '404',
        url: '../pages/404/index.vue',
        hidden: true,
    }
]